package cn.jarlen.android.plugin

class SvnVerBuilder implements VerBuilder {

    @Override
    String getBuilderName() {
        return VerUtils.isInJenkins() ? "jenkins build by " : "local build by " + VerUtils.getSvnUserName()
    }

    @Override
    String getCodeBranch() {
        return "not support"
    }

    @Override
    String getCodeSHA() {
        return VerUtils.getSvnVersion()
    }

    @Override
    String getRepUrl() {
        return VerUtils.getSvnRepUrl()
    }

    @Override
    String getRepManager() {
        return "SVN"
    }
}